<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>视频聊天</title>
    <link rel="styleSheet" href="./style.css" type="text/css" media="screen" />
    <script src="/webjars/webrtc-adapter/release/adapter.js"></script>
		<script src="./js/conferenceroom.js"></script>
		<script src="./js/participant.js"></script>
		<script src="./js/kurento-utils.js"></script>
  </head>
  <body>
		<div id="link">1</div>
		<div id="aa">2</div>
		<div id="app">3</div>
		<div id="bb">4</div>
		<script>
			window.addEventListener("flutterInAppWebViewPlatformReady", function(event) {
					window.flutter_inappwebview.callHandler('handlerFoo').then(function(result) {
						document.getElementById('link').innerHTML = result;
						document.getElementById('aa').innerHTML = "hello world";
					});

					window.flutter_inappwebview.callHandler('appSendJs').then(function(result) {
						document.getElementById('app').innerHTML = result;
						document.getElementById('bb').innerHTML = "hello flutter";
					});
			});
		</script>
  </body>
</html>
